[#include "/WEB-INF/pages/common/taglibs.ftl"]
	[#--<div class="tableoptions">
		<form action="[@c.url value='/manage/Function_list.action'][/@c.url]" name="channelForm" method="get" class="">
			<a href="[@c.url value='/manage/Function_create.action?pid=${id}'/]" class="radius3"><span>新&nbsp;&nbsp;&nbsp;&nbsp;建</span></a>
        	<button tableid='memberListTable' title="删除所选" class="deletebutton radius3">删除所选</button> &nbsp;
		</form>
    </div>--]
    <div class="tableoptions">
		<a class="radius3" href="[@c.url value='/manage/Menu_create.action'/]"><span>新&nbsp;&nbsp;&nbsp;&nbsp;建</span></a>
		<a class="radius3 delete" tableid='menuTable' title="删除所选" href="javascript:void(0);"><span>删除所选</span></a> &nbsp;
		<div style="float:right;"><a class="radius3 ajax" style="padding:9px 12px 8px;margin:0;" href="[@c.url value='/manage/Menu_auto.action'/]"><span>自动生成</span></a></div>
	</div>
    [@c.url value="/manage/Menu_view.action" var='viewUrl'][@c.param name="ajax" value="true"/][@c.param name="id" value=""/][/@c.url]
    [@c.url value="/manage/Menu_edit.action" var='editUrl'][@c.param name="id" value=""/][/@c.url]
    [@c.url value="/manage/Menu_delete.action" var='delUrl'][@c.param name="id" value=""/][/@c.url]
	[@demo.tableDisplayer id="menuTable" renderTo="${renderTo}" ajaxPage="true" property="menuList" pagesize=4 page="/manage/menu_list.action?id=${id}" name="FreemarkerTable" config="/WEB-INF/component/table/template-stdtable-sort.ftl" bundle="messageSource" onLoad="common_box.init();common_checkbox.init();"]
		[@demo.column name="batch" title="" innerHtml="\linput type='checkbox' value='[#id]'/\g" headHtml="\lspan class='checkbox'\g\linput type='checkbox' class='checkall' /\g\l/span\g" headerClass="batch" columnClass="span-atom center"/]
		[@demo.column name="id" property="id" title="菜单ID" columnClass="span1" /]
		[@demo.column name="name" property="name" title="菜单" columnClass="span1"/]
		[@demo.column name="title" property="title" title="标题"  /]
		[@demo.column name="url" property="url" title="URL" columnClass="span2"/]
		[@demo.column name="type" property="type" title="类型" columnClass="span1"/] 	
		[@demo.column name="operate" property="id" title="操作" columnClass="span2 center" innerHtml="\la href=\'${editUrl}[#id]\' act='view' class='' \g编辑\l/a\g&nbsp;|&nbsp;\la href=\'${viewUrl}[#id]\' act='view' class='ajax' \g查看\l/a\g&nbsp;|&nbsp;\la href=\'${delUrl}[#id]\' act='del' class='' \g删除\l/a\g" headerClass="batch"/]
	[/@demo.tableDisplayer]
	</div>
    <div id="delete-confirm" style="display:none" title="菜单删除">
		<p>菜单删除后将无法恢复.您确认删除吗？</p>
	</div>
	
